﻿using CgdataBase;
using FolderCompare.ViewModels;
using System.Windows;

namespace FolderCompare.Views
{
    public partial class WinTextCompare : Window
    {
        public WinTextCompare(string oldFile, string newFile)
        {
            InitializeComponent();
            DataContext = new WinTextCompareViewModel(oldFile, newFile);
            WindowController.UpdateWindowConfig(this, this.GetType());
            WindowController.EscToExit(this);
        }
    }
}